package com.cqdev.washer.infra.mapper;

import com.cqdev.washer.infra.entity.SqlScript;
import com.cqdev.washer.infra.entity.SqlScriptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SqlScriptMapper {
    long countByExample(SqlScriptExample example);

    int deleteByExample(SqlScriptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SqlScript record);

    int insertSelective(SqlScript record);

    List<SqlScript> selectByExampleWithBLOBs(SqlScriptExample example);

    List<SqlScript> selectByExample(SqlScriptExample example);

    SqlScript selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SqlScript record, @Param("example") SqlScriptExample example);

    int updateByExampleWithBLOBs(@Param("record") SqlScript record, @Param("example") SqlScriptExample example);

    int updateByExample(@Param("record") SqlScript record, @Param("example") SqlScriptExample example);

    int updateByPrimaryKeySelective(SqlScript record);

    int updateByPrimaryKeyWithBLOBs(SqlScript record);

    int updateByPrimaryKey(SqlScript record);
}